using Shared.Domain.Shared.Enums.UserService;

namespace Shard.Contracts.UserService.Etos;

/// <summary>
/// 用户状态变更事件 - 通知聊天服务用户状态变化
/// </summary>
[Serializable]
public class UserStatusChangedEto
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid UserId { get; set; }
    
    /// <summary>
    /// 新状态
    /// </summary>
    public UserStatus NewStatus { get; set; }
    
    /// <summary>
    /// 原状态
    /// </summary>
    public UserStatus OldStatus { get; set; }
    
    /// <summary>
    /// 状态变更时间
    /// </summary>
    public DateTime ChangeTime { get; set; }
}